package po.scorepo;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import po.coursepo.CourseID;
import po.userpo.StuID;

public class Score implements Serializable{
	 StuID stuId;
	 CourseID courseId;
	  String courseName;
	  String stuName;
	  int score;
	  
	  public Score(StuID stui, String cName , int s, String sName,CourseID cId) throws RemoteException{
	  	stuId = stui;
	  	courseName = cName;
	  	score = s;
	  	stuName = sName;
	  	courseId = cId;
	  }
	  
	  public StuID getStuId() throws RemoteException{
	  	return stuId;
	  }
	  
	  public String getCourseName() throws RemoteException{
		return courseName;
	  }
	  
	  public int getScore() throws RemoteException{
	  	return score;
	  }
	 
	  public String getStuName() throws RemoteException{
		  return stuName;
	  }
	  
	  public CourseID getCourseID() throws RemoteException{
		  return courseId;
	  }
}
